package com.qf.fmall2302;

public class TestBasicType {

    public static void main(String[] args) {

//        byte a = 0;
//        short b = 0;
//        int c = 0;
//        long d = 0l;
//
//        float e = 0.0f;
//        double f = 0.0;
//
//        boolean g = false ;
//
//        char h = 'a';

        String s = new String("abc");

        String s1 = s.replaceAll("d", "-");

        switch (s) {

            case "abc" :
                System.out.println(1);
                break;
            case "def" :
                System.out.println(2);
                break;
            default:
                System.out.println(3);
        }

        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append("abc");
        stringBuffer.append("abc");

    }

}
